<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

    <h:head>
        <title>Saco de Mel</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="description" content="Saco de Mel" />
        <meta name="keywords" content="pequena, empresa, mel" />
        <link rel="stylesheet" href="../estatico/css/style.css" type="text/css" media="screen" />
    </h:head>

    <h:body>



        <div id="content" style="width: 350px; float: none;">

            <div>
                
            </div>

            <div id="main" >

                <h:form>
                    <h:messages globalOnly="true" styleClass="textoAviso"  />
                    
                    <fieldset id="formPesquisa">
                        <legend> <h:outputText value=" Login " styleClass="tituloPagina" /></legend>
                        <ul style="list-style:none;">

                            <li>
                                <label for="nomePessoa">Perfil</label>
                                <h:inputText id="nomePessoa" value="#{segurancaMB.perfil}"  required="true" requiredMessage=" *#{msg['campo_obrigatorio']}" /> 
                                <h:message for="nomePessoa" styleClass="textoAviso" />
                            </li>
                            <li>
                                <label for="chave">Chave</label>
                                <h:inputSecret id="chave" value="#{segurancaMB.chave}" required="true" requiredMessage=" *#{msg['campo_obrigatorio']}" /> 
                                <h:message for="chave" styleClass="textoAviso" />
                            </li>
                            <li class="linhaBotao">
                                <h:commandButton value="Entrar"  action="#{segurancaMB.entrar}" styleClass="botaoPadrao"/>
                            </li>
                        </ul>
                    </fieldset>
                </h:form>
            </div>


        </div>

    </h:body>



</html>
